import React, { Component } from 'react'

import Brother1 from './Brother1'
import Brother2 from './Brother2'

export default class ReduxIndex extends Component {
  render () {
    return (
      <div>
        我是父组件 <br />
        <br />
        <br />
        <div>
          <div
            style={{
              float: 'left',
              width: 400,
              height: 400
            }}
          >
            <Brother1 />
          </div>
          <div
            style={{
              float: 'right',
              width: 400,
              height: 400
            }}
          >
            <Brother2 />
          </div>
        </div>
      </div>
    )
  }
}
